Skip to content

Conversation

@micheal-o
Copy link
Contributor

@micheal-o micheal-o commented Jan 6, 2026

What changes were proposed in this pull request?

Introduce State Rewriter to rewrite the state stores for a stateful streaming query. Read state, transform it, then write the new state.

Why are the changes needed?

For offline state repartitioning and other future use case

Does this PR introduce any user-facing change?

No

How was this patch tested?

Updated existing tests

Was this patch authored or co-authored using generative AI tooling?

Yes, Claude-4.5-opus

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

JIRA Issue Information

=== Task SPARK-54924 ===
Summary: State Rewriter to Read + transform + Write
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

Copy link
Contributor

@anishshri-db anishshri-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

anishshri-db pushed a commit that referenced this pull request Jan 9, 2026
…e Rewriter

### What changes were proposed in this pull request?

Integrate Repartition runner with State rewriter that was introduced in my previous [PR](#53703) and enable end to end execution of repartitioning.

### Why are the changes needed?

For offline state repartitioning

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

New and existing tests

### Was this patch authored or co-authored using generative AI tooling?

Claude-4.5-opus

Closes #53747 from micheal-o/repart_rewrite_int.

Authored-by: micheal-o <[email protected]>
Signed-off-by: Anish Shrigondekar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants